package tk.uodrad.apex.project.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName car_management
 */
@TableName(value ="car_management")
@Data
public class Vehicle implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 小区编号
     */
    private String communityCode;

    /**
     * 车辆照片URL
     */
    private String carImage;

    /**
     * 人员ID
     */
    private Long peopleId;

    /**
     * 车辆名称
     */
    private String carName;

    /**
     * 车辆颜色
     */
    private String carColor;

    /**
     * 车牌号
     */
    private String licensePlateNumber;

    /**
     * 备注
     */
    private String describes;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}